<?php
/*
+ ---------------------------------------------------------------------- +
| e107Shop - An e-commerce plugin for the e107 content management system |
|                                                                        |
| ByOrder Europe 2007-2008                                               |
| http://e107shop.com                                                    |
| patrick@byorder.nl                                                     |
|                                                                        |
| Released under the terms and conditions of the LGPL                    |
|                                                                        |
| $Revision: 1.0                                                         |
| $Date: 2008/08/20                                                      |
| $Author: Bieleke                                                       |
+ ---------------------------------------------------------------------- +
*/

function e107shop_complete_order($order_id, $total, $fail, $gateway){
    global $e107shop_db_name;
    $sql = new db;

    $sql->db_Select($e107shop_db_name['settings'], $field, "");
        while($row = $sql->db_Fetch()){
            $field_data = $row[$field];
        }

    return $field_data;
}
